<{include file="head.html"}>

<link rel="Stylesheet" href="<{$website}>/templates/<{$moban}>/style/p_detail.css" type="text/css" />
<script language="javascript" src="<{$website}>/templates/<{$moban}>/js/newDiv.js"></script>
<script language="javascript">
function showGoods(cid){
	var url='<{$website}>/showgoods.php?cid='+cid;
	checkSelect(url,'获取相关商品信息','goodsDiv',false);
}

function showComments(iid,nick,url){
	var url='<{$website}>/showcomments.php?iid='+iid+"&nick="+nick+"&url="+url;
	checkSelect(url,'获取推荐商品信息','commentDiv',false);
}
</script>


<div class="wrapper" id="site_location" style="margin-top: 10px;">
<div class="unit on-2">
<div class="fixed column" style="width: 600px">
<a href="<{$website}>/index.php">首页</a> > <a href="<{$website}>/remai.php">热卖宝贝</a> > <{$pcat}>
</div>
</div>
    <div class="wrapper">
        <div class="unit title">
            <h3>
                <a id="ctl00_ContentPlaceHolder1_hlProduct" href="<{$website}>/view<{$ljoin}><{$lpro}><{$num_iid}><{$rewrite_postfix}>" style="color:#FF5A18;"><{$titles}></a></h3>
        </div>
        <div class="unit on-3 columns" style="border: 1px solid #ccc; margin-top: 10px;">
            <div class="fixed column" style="width: 220px; padding: 5px;"><span class="fixed column" style="width: 220px; padding: 5px;">
            <script language="javascript">setPic("<{$pic_path|base64_encode}>","220","220","<{$titles|strip_tags}>","propic");</script>
			</span></div>
            <div class="fixed column info" style="width: 470px;">
                <h3><{$titles}></h3>
				<div style="float:right; margin-top:30px; margin-right:100px;"> 
                <a id="ctl00_ContentPlaceHolder1_hlGo" title="打开淘宝网详细页面去购买" class="buy" onclick='clickurl("<{$click_url|base64_encode}>");' href="javascript:;"></a>
				</div>
                <ul>
                    <li class="price"><span>价格：</span><strong class="price"><{$price}></strong></li>
                    <li class="sales"><span>商品数量：</span><{$num}>件</li>
                    <li class="shop_credit"><span>卖家信用：</span><img src="<{$website}>/images/level_<{$level}>.gif"></li>
                    <li class="city"><span>地址：</span><{$state}><{$city}></li>
             	    <li><span>类别：</span>
					<{if $result1 }>
						<a href='<{$website}>/remai<{$ljoin}><{$lcat}><{$result1.cid}><{$ljoin}><{$lpage}>1<{$rewrite_postfix}>'><{$result1.name}></a> - 
					<{/if}>
					<a href='<{$website}>/remai<{$ljoin}><{$lcat}><{$result2.cid}><{$ljoin}><{$lpage}>1<{$rewrite_postfix}>'><{$result2.name}></a>
                    </li>
                    <li><span>标签：</span>
					<{foreach from=$tags item=v key=k}>
						<a href="<{$website}>/search-<{$v|urlencode}><{$ljoin}><{$lcat}>0<{$ljoin}><{$lpage}>1<{$rewrite_postfix}>" style='margin-right:5px;'><{$v}></a>
					<{/foreach}>
					</li>
					<li>提示: 本商品进入淘宝网后才进行购买，支付宝付款，请放心购买！</li>
                </ul>
            </div>
            <div class="fixed column shopowner" style="width: 200px;">
                <div style="background-color: #eee; padding: 3px 0px 3px 5px;">
                    卖家资料</div>
                <ul style="padding: 5px;">
                    <li class="shop_owner"><span>卖家：</span><a href="<{$website}>/shop<{$ljoin}><{$nick|urlencode}><{$ljoin}><{$lpage}>1<{$rewrite_postfix}>"><{$nick}></a></li>
                    <li class="shop_credit"><span>信用：</span><img src="<{$website}>/images/level_<{$level}>.gif"></li>
                    <li class="city"><span>地址：</span><{$state}><{$city}></li>
                    <li><a class="gotoshop" onclick='clickurl("<{$shop_click_url|base64_encode}>");' href="javascript:;"></a></li>
                </ul>
            </div>
        </div>
<div class='attributes'>
<ul class='attributes-list'>	
	<{foreach from=$features item=fea}>
	<{$fea}>
	<{/foreach}>
</ul>
</div>
        <p id="view_desc">
<div id="subjectTabBar">
   <ul class="tabbar">
	  <li class="selected" id="descLi"><a href="javascript:;" onclick="changeV('descLi',Array('goodsLi','commentLi'),Array('commentDiv','goodsDiv'),'desc');">商品详情</a></li>
	  <li id="commentLi"><a href="javascript:;" onclick="changeV('commentLi',Array('descLi','goodsLi'),Array('desc','goodsDiv'),'commentDiv');showComments('<{$num_iid}>','<{$nick|urlencode}>','<{$click_url|base64_encode}>');">热门评论</a></li>
	  <li id="goodsLi"><a href="javascript:;" onclick="changeV('goodsLi',Array('descLi','commentLi'),Array('desc','commentDiv'),'goodsDiv');showGoods(<{$catid}>);">相关商品</a></li>
   </ul>
</div>
	</p>
        <div class="unit dc" id="desc" style="display:block">
		<{$abc}>
        </div>
		
		<div id="commentDiv" style="display:none">		</div>
		<div id="goodsDiv" style="display:none">		</div>
		
        <div class="unit" id="alibanner">
		<{$ads.view_bottom}>
        </div>
    </div>
<{include file="foot.html"}>